package com.yupi.yuapicommon.model.dto.userInterfaceInfo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 创建请求
 *
 * @TableName product
 */
@Data
@ApiModel
public class UserInterfaceInfoAddRequest implements Serializable {

    /**
     * 调用用户 id
     */
    @ApiModelProperty(value = "调用用户 id")
    private Long userId;

    /**
     * 接口 id
     */
    @ApiModelProperty(value = "接口 id")
    private Long interfaceInfoId;

    /**
     * 总调用次数
     */
    @ApiModelProperty(value = "总调用次数")
    private Integer totalNum;

    /**
     * 剩余调用次数
     */
    @ApiModelProperty(value = "剩余调用次数")
    private Integer leftNum;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}